package com.yzy.gateway.center.domain.manage.repository;

import com.yzy.gateway.center.domain.manage.model.vo.GatewayServerDetailVO;
import com.yzy.gateway.center.domain.manage.model.vo.GatewayServerVO;

import java.util.List;

/**
 * @version: java version 1.8
 * @Author: yzy
 * @description: 仓储层接口
 * @date: 2023-10-25 15:53
 */
public interface IConfigManageRepository {
    List<GatewayServerVO> queryGatewayServerList();

    GatewayServerDetailVO queryGatewayServerDetail(String gatewayId, String gatewayAddress);

    boolean updateGateStatus(String gatewayId, String gatewayAddress, Integer available);

    boolean registerGatewayServerNode(String groupId, String gatewayId, String gatewayName, String gatewayAddress, Integer available);
}
